package com.huawei.orderservice.service;

import com.huawei.common.pojo.Result;
import com.huawei.orderservice.pojo.dto.OrderDTO;
import com.huawei.orderservice.pojo.dto.OrderUpdateDTO;

public interface OrderService {
    Result createOrder(OrderDTO order);

    Result updateOrder(OrderUpdateDTO order);

    Result payment(Long id);

    Result cancelOrder(Long id);
}
